home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-30 | 928 b | 42 lines |
- # Makefile for the atariST g++ library (32 bit int default)
-
- GXX= gcc
- CC= gcc
- CPP= gcc-cpp
- AR= gcc-ar
- AS= $(CC)
-
- LIB = d:/gnu/lib
- GXXLIB = $(LIB)
-
- # common subset of options; no int size or omit-frame-pointer:
- COMMONOPT = -O2 -fstrength-reduce
- COMMONFLAGS = -I$(GXXINC)
- COMMONDEFINES = -DNDEBUG
-
- COPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES) \
- $(XFLAGS)
-
- GXXOPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES) \
- $(XXFLAGS)
-
- # Base options CC; includes int size but not omit-frame-pointer
- CFFLAGS = $(COPTS)
- GXXFFLAGS = $(GXXOPTS)
-
- # normal CFLAGS including int size and omit-frame-pointer
- CFLAGS= $(CFFLAGS) -fomit-frame-pointer
- GXXFLAGS = $(GXXFFLAGS) -fomit-frame-pointer
-
- # cflags for stuff that needs to be compiled with 32 bit ints
- CLFLAGS= $(CFLAGS)
- GXXLFLAGS = $(GXXFLAGS)
-
- # flags to $(CC) when it runs the assembler only
- ASFLAGS= -c
-
- # pre-processor flags
- PPFLAGS= -P # -DNDEBUG
-
- include mincl
-